#include "round.h"

double round1(double a)
{
	double x, y;
	float z;
	x = modf(a, &z);
	if (x >= 0.5)
		y = ceil(a);
	if (x<0.5)
		y = floor(a);
	return y;
}